#ifndef DIALOG_H
#define DIALOG_H

#include <QtGui/QDialog>
#include <QMessageBox>
#include "server.h"
#include "producto.h"
namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();
public slots:
    //void AlCrearProductos(int);
private slots:
    void on_btnIniciar_clicked();

    void on_btnParar_clicked();

    void on_btnSalir_clicked();

private:
    Ui::Dialog *ui;
    Server *dispServer;
};

#endif // DIALOG_H
